package cn.endeavour.org.mapper;

import cn.endeavour.basic.mapper.BaseMapper;
import cn.endeavour.org.domain.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
/**
 * 部门mapper
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    /**
     * 部门树数据
     * @return
     */
    List<Department> getDeptTree();
}
